From 6113504495fb68146fca644de975650e46e818a4 Mon Sep 17 00:00:00 2001 From: Maks Naumov Date: Sun, 11 Jan 2015 14:54:27 -0800 Subject: [PATCH] Fix event->button.y_root when using mouse buttons and dnd canceled Signed-off-by: Maks Naumov https://bugzilla.gnome.org/show_bug.cgi?id=742785 --- gdk/wayland/gdkdnd-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdk/wayland/gdkdnd-wayland.c b/gdk/wayland/gdkdnd-wayland.c index 141434d6e7..39914c5a75 100644 --- a/gdk/wayland/gdkdnd-wayland.c +++ b/gdk/wayland/gdkdnd-wayland.c @@ -497,7 +497,7 @@ gdk_wayland_drag_context_undo_grab (GdkDragContext *context) event->button.button = button; event->button.time = GDK_CURRENT_TIME; event->button.x = event->button.x_root = x; - event->button.y = event->button.x_root = y; + event->button.y = event->button.y_root = y; } else return; -- 2.30.2